package com.siam.package_merchant.model.result;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.google.gson.annotations.SerializedName;
import com.siam.package_merchant.entity.Merchant;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户表
 *
 * @author 高品
 */
@Data
public class MerchantResult extends Merchant {

    //token
    private String token;

    //是否为新用户
    private boolean isNewPeople;

    //openid
    private String openId;

    //今日获得余额
    private BigDecimal totayGainBalance;

    //今日获得积分
    private BigDecimal totayGainPoints;

    //昨日收益-邀请新用户注册奖励金额/佣金
    private BigDecimal yesterdayGainInviteRewardAmount;

    //优惠券数量
    private Integer couponsNumber;

    private String shopName;

    private String shopLogoImg;

    private Boolean isOperating;

    private String startTime;

    private String endTime;

    private Integer kitchenTotalOrderPrinterId;

    private Integer checkoutPrinterId;

    private Integer deliveryWay;

    private BigDecimal serviceRating;

    // 今日支付金额(商家实际到手金额)
    BigDecimal todaySumMerchantIncome;

    // 今日支付订单数量
    int todayCountPaid;
}